<template>
	<view class="padding-30">
		<view class="flex-boderRadius-view bg-fff padding-0-30 margin-bottom20">
			<view class="flex-column padding-20-0">
				<view class="fontSize-15 color-333 margin-bottom20">{{data.title}}</view>
				<view class="fontSize-13 color-999 margin-bottom20" v-if="data.updatetime">{{data.updatetime}}</view>
				<!-- <image class="image-view margin-bottom20" :src="data.image" mode=""></image>
				<view class="fontSize-13 color-999">{{data.content}}{{data.desc}}</view> -->
				<u-parse :content="data.content"></u-parse>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				id:'',
				data:{}
			}
		},
		onLoad(e) {
			if(e.id){
				this.id = e.id
				this.getMessageDetail()
			}
		},
		methods:{
			async getMessageDetail(){
				let res = await this.$http.post(this.$api.message_detail,{id:this.id},{token:true})
				if(res.code == 1){
					this.data = res.data
				}
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>